import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

Vue.config.productionTip = false


// 1、配置全局样式
import "@/assets/styles/index.scss"


// 2、element 

import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';
Vue.use(ElementUI);

// 3、全局混入
import "@/utils/mixins"

// 4、全局组件
// import "@/components"


// 5、正则
import { reg } from "@/utils/validate"
Vue.prototype.$reg = reg

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
